package com.boyu.service;

import com.boyu.common.SystemConst;
import com.boyu.common.model.User;
import com.jfinal.plugin.activerecord.Page;

/**
 * Created by lizhiwei on 2017/6/3.
 */
public class UserService {
	public Page<User> getUserPage(int pageNo) {
		Page<User> paginate = User.dao.paginate(pageNo, SystemConst.PAGE_SIZE, "select *", " from t_user");
		return paginate;
	}
}
